package com.bsfcs.rag.entity;

import jakarta.persistence.*;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 合同履行计划表实体类
 *
 * @author Generated
 * @date 2025-10-10
 */
@Data
@Entity
@Table(name = "htglxtco_lx_plan")
public class ContractLxPlan {

    /**
     * 主键
     */
    @Id
    @Column(name = "id")
    private String id;

    /**
     * 上级对象主键
     */
    @Column(name = "parentid")
    private String parentID;

    /**
     * 节点名称
     */
    @Column(name = "name")
    private String name;

    /**
     * 计划履行日期
     */
    @Column(name = "deadline")
    private String deadline;

    /**
     * 创建信息
     */
    @Column(name = "created")
    private String created;

    /**
     * 是否启用
     */
    @Column(name = "enabled")
    private String enabled;

    /**
     * 计划履行金额
     */
    @Column(name = "plan_perform_amount")
    private BigDecimal plan_perform_amount;

    /**
     * 实际履行日期
     */
    @Column(name = "real_perform_date")
    private String real_perform_date;

    /**
     * 实际履行金额
     */
    @Column(name = "real_perform_amount")
    private BigDecimal real_perform_amount;

    /**
     * 是否已履行
     */
    @Column(name = "is_performed")
    private String is_performed;

    /**
     * 是否合同乙方
     */
    @Column(name = "is_co_party_b")
    private String is_co_party_b;

    /**
     * 履行方
     */
    @Column(name = "perform_party")
    private String perform_party;

    /**
     * 税点
     */
    @Column(name = "tax_point")
    private String tax_point;

    /**
     * 单据号
     */
    @Column(name = "billcode")
    private String billcode;

    /**
     * 单据名称
     */
    @Column(name = "billname")
    private String billname;

    /**
     * 款项名称
     */
    @Column(name = "payment_name")
    private String payment_name;

    /**
     * 节点日期
     */
    @Column(name = "node_date")
    private String node_date;

    /**
     * 节点金额
     */
    @Column(name = "node_amount")
    private BigDecimal node_amount;

    /**
     * 占合同额比例
     */
    @Column(name = "contract_amount")
    private String contract_amount;

    /**
     * 条款说明
     */
    @Column(name = "terms_conditions")
    private String terms_conditions;

    /**
     * 备注
     */
    @Column(name = "remarks")
    private String remarks;

    /**
     * 履约编号
     */
    @Column(name = "performance_number")
    private String performance_number;

    /**
     * 履约编号流水
     */
    @Column(name = "performance_number_flow")
    private String performance_number_flow;

    /**
     * 履约状态
     */
    @Column(name = "performance_status")
    private String performance_status;

    /**
     * 序号
     */
    @Column(name = "serial_number")
    private Long serial_number;

    /**
     * 常量一百
     */
    @Column(name = "constantonehundred")
    private Long constantonehundred;

    /**
     * 履约阶段
     */
    @Column(name = "performance_stage")
    private String performance_stage;

    /**
     * 节点金额计算方式
     */
    @Column(name = "nodeamount_method")
    private String nodeamount_method;

    /**
     * 款项id
     */
    @Column(name = "payment_id")
    private String payment_id;

    /**
     * 款项编码
     */
    @Column(name = "payment_code")
    private String payment_code;

    /**
     * 履行状态
     */
    @Column(name = "status_enab")
    private String status_enab;

    /**
     * 实际回款金额
     */
    @Column(name = "amount_cashed")
    private BigDecimal amount_cashed;

    /**
     * 扣款金额
     */
    @Column(name = "deduction_amount")
    private BigDecimal deduction_amount;


}